import Router from "koa-router";
import chatController from "@/api/chatController";

const router = new Router();

// 微信服务器验证接口
// router.get("/wechat", chatController.verifyWeChatServer.bind(chatController));

// 微信公众号推送消息处理
router.post("/wechat", chatController.getStatus.bind(chatController));

router.post("/chat", chatController.chat);

// router.get("/MP_verify_:code.txt", chatController.verify);

export default router;
